https://electronjs.org/docs/api/power-monitor